package com.qfedu.yanglao20admin.visit.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qfedu.yanglao20.common.param.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author yujie
 * @data 2023/4/20 17:27
 */
@ApiModel("服务回访分页以及查询参数")
@Data
public class ReturnVisitParam extends PageParam {

    @ApiModelProperty("下单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    
    @ApiModelProperty("应用服务名称")
    private String name;

    @ApiModelProperty("回访状态0待回访1已回访")
    private Integer visitFlag;

}
